home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / g_man / cat3 / standard / linewidth.z / linewidth
Encoding:
Text File  |  2002-10-03  |  3.1 KB  |  67 lines

  1.  
  2.  
  3.  
  4. lllliiiinnnneeeewwwwiiiiddddtttthhhh((((3333GGGG))))                                                    lllliiiinnnneeeewwwwiiiiddddtttthhhh((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      lllliiiinnnneeeewwwwiiiiddddtttthhhh,,,, lllliiiinnnneeeewwwwiiiiddddtttthhhhffff - specifies width of lines
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd lllliiiinnnneeeewwwwiiiiddddtttthhhh((((nnnn))))
  13.      sssshhhhoooorrrrtttt nnnn;;;;
  14.  
  15.      vvvvooooiiiidddd lllliiiinnnneeeewwwwiiiiddddtttthhhhffff((((nnnn))))
  16.      ffffllllooooaaaatttt nnnn;;;;
  17.  
  18. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  19.      _n    is the width of the line.  The width is measured in pixels and is 1
  20.           by default.
  21.  
  22. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.      lllliiiinnnneeeewwwwiiiiddddtttthhhh specifies the width of a line. Mathematical lines have no
  24.      width, but to display a line, it must be assigned a width.  The center of
  25.      the displayed line is as close as possible to the mathematical line.  If
  26.      antialiased line drawing is not enabled, and multisample is not enabled,
  27.      or multisample buffers do not exist in the current framebuffer
  28.      configuration in the current drawmode, _n indicates the number of pixels
  29.      across the minor axis of the line, and is rounded to the nearest integer.
  30.      Otherwise, _n indicates the line width in units of pixels, and is rounded
  31.      to the nearest supported value.  For example, lllliiiinnnneeeewwwwiiiiddddtttthhhh 0 is rounded to
  32.      one.
  33.  
  34.      Rounding affects only the value of _n that is actually used, not the value
  35.      that is retained.
  36.  
  37. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  38.      linesmooth, setlinestyle
  39.  
  40. NNNNOOOOTTTTEEEESSSS
  41.      The maximum width of aliased lines is 255.
  42.  
  43.      IRIS-4D VGX model supports antialiased line widths 1.0 and 2.0, and
  44.      aliased line widths one through 255.  IRIS-4D G, GT, and GTX models, the
  45.      Personal Iris, Indy, Iris Entry, XL, XS, XS24, XZ, Elan and Extreme
  46.      systems support antialiased line width 1.0, and aliased line widths one
  47.      through 255.
  48.  
  49.      On IRIS-4D models that support rrrreeeesssseeeettttllllssss, it must be set to TRUE to obtain
  50.      reasonable results with line widths greater than one.
  51.  
  52.      In order to select or pick a wide line in selecting or picking mode
  53.      respectively, the selecting region must intersect the displayed line
  54.      center.  This center is the imaginary line of width 1 specified by the
  55.      same end vertices as the displayed line.  In case of a very wide line,
  56.      you may want to consider drawing a filled rectangle instead.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.